package cn.com.zpark.filter;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @PackageName: cn.com.zpark.filter
 * @ClassName: ServletDmoe01
 * @Description:
 * @author: RZS
 * @date: 2021/11/21  15:37
 */
@WebServlet("/filter/sd1.do")
public class ServletDmoe01 extends HttpServlet {
    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        /**
         *
         * 响应内容
         */
        resp.getWriter().write("<h1>这是经过过滤器过滤之后的请求</h1>");
    }
}
